package org.xw.service;

import jakarta.servlet.http.HttpServletRequest;
import org.xw.dto.MsgDTO;
import org.xw.pojo.MembersPojo;
import org.xw.pojo.MessagePojo;
import org.xw.utils.ResponseUtil;

public interface MessageService {
    ResponseUtil getMsg(HttpServletRequest httpServletRequest, MsgDTO msgDTO);

    ResponseUtil selectMsg(MsgDTO msgDTO);

    int store(MessagePojo messagePojo);

    MembersPojo getMember(String userId, int chatId);
}
